<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>彩妆热卖产品列表</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            background-color: rgb(255, 235, 181)
        }
        .wai{
            width: 400px;
        }
        p{
            background-color: rgb(253, 139, 254);
            padding: 10px;
            font-weight: bold;
            color: white;
        }
        ul{
            list-style: none;
            background-color: white;
            
        }
        li{
            border-bottom: black 1px dashed;
            padding: 5px;
        }
        a{
            text-decoration: none;
            color: gray;
            
            

        }
        .yuan{
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background-color: gray;
            float: left;
            color: white;
            text-align: center;
            margin-right: 5px;
        }
        a:hover{
            display: block;
            width: 400px;
            height: 400px;
            
            background-position: center center;
            background-repeat: no-repeat;
            color: rgb(253, 139, 254);
            
        }
        .a1:hover{
            background-image: url(image/icon-1.jpg);
        }
        .a2:hover{
            background-image: url(image/icon-2.jpg);
        }
        .a3:hover{
            background-image: url(image/icon-3.jpg);
        }
        .a4:hover{
            background-image: url(image/icon-4.jpg);
        }

        span{
            color:rgb(253, 139, 254) ;
            display: none;
        }
        a:hover span{
            display: block;
            margin-top: 350px;
            text-align: center;
        }
       a:hover .yuan{
              background-color: rgb(253, 139, 254);
       }
        
        
        
    </style>
</head>

<body>
    <div class="wai">
        <p>大家都喜欢的彩妆</p>
        <ul>
            <li><a href="" class="a1"><div class="yuan">1</div>Za姬芮新能真皙美白隔离霜 35g <span>￥62.00 最近69122人购买</span></a></li>
            <li><a href="" class="a2"><div class="yuan">2</div>美宝莲精纯矿物奇妙新颜乳霜BB霜 30ml<span>￥89.00 最近13610人购买</span></a> </li>
            <li><a href="" class="a3"><div class="yuan">3</div>菲奥娜水漾CC霜40g<span>￥59.90 最近13403人购买</span> </a></li>
            <li><a href="" class="a4"><div class="yuan">4</div>DHC 蝶翠诗橄榄卸妆油 200ml<span>￥169.00 最近16757人购买</span> </a></li>
        </ul>
    </div>
</body>
</html>